<?php
require "./vendor/autoload.php";
use  Anker1992\BasicLib\Captcha;

$captchaObj = new Captcha();
// 生成随机数
$captchaNum = $captchaObj->makeRand(4);
// 生成图片
$captchaObj->getAuthImage($captchaNum);